﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;


namespace DAO
{
    public class PhieuThuRepository
    {

        public int LayMaPhieuThuMax()
        {
            QLTVEntities contex = new QLTVEntities();
            int maphieu = contex.PHIEUTHU_TIENPHATList.Max(s => s.MaPhieuThu);
            return maphieu;
        }
    }
}
